package com.my.dao;

import java.math.BigInteger;
import java.util.List;

import com.my.bean.OrderBack;

public interface OrderBackDAO {

	boolean addOrderBack(OrderBack orderback) throws Exception;

	OrderBack getOrderBackById(Class<OrderBack> c, Integer id) throws Exception;

	BigInteger getTotalOrderBackRecords() throws Exception;

	List<OrderBack> getAllOrderBackByPage(int pageindex, int pagesize)
			throws Exception;

	BigInteger searchTotalOrderBackRecords(OrderBack orderback)
			throws Exception;

	List<OrderBack> searchOrderBackByPage(int pageindex, int pagesize,
			OrderBack orderback) throws Exception;
}
